package com.newtouch.bxzs.enterprise.model.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 根据三方关系获取对端用户信息带首字母
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/2/26 15:41</td>
 * <td>yuanjie</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author yuanjie
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel
public class InitialsUserBO {

    @ApiModelProperty("数量")
    private Integer total;

    @ApiModelProperty("带首字母的用户")
    private Map<String,List<CooperationUserBO>> initials;

    public InitialsUserBO(Integer total,Map<String, List<CooperationUserBO>> initials) {
        this.total = total;
        this.initials = initials;
    }

    public InitialsUserBO() {
    }
}
